/*
package com.tuzhi.security.bo;

import com.alibaba.fastjson2.annotation.JSONField;

import java.io.Serializable;
import java.util.Set;

*/
/**
 * 登录用户身份权限
 *//*

public class LoginUserBO implements Serializable {

    private static final long serialVersionUID = 1L;

    */
/**
     * 用户ID，存放了UserName
     *//*

    private String userName;

    private String nickName;

    private String tel;

    */
/**
     * 这里存储了用户的主键id
     *//*

    private Long userId;

    */
/**
     * 部门ID
     *//*

    private Long deptId;

    */
/**
     * 用户唯一标识 token(jwt)对应的jti
     *//*

    private String jti;


    */
/**
     * 用户唯一标识
     *//*

    private String token;

    */
/**
     * 登录时间
     *//*

    private Long loginTime;

    */
/**
     * 过期时间
     *//*

    private Long expireTime;

    */
/**
     * 登录IP地址
     *//*

    private String ipaddr;

    */
/**
     * 登录地点
     *//*

    private String loginLocation;

    */
/**
     * 浏览器类型
     *//*

    private String browser;

    */
/**
     * 操作系统
     *//*

    private String os;

    private Set<String> roles;

    private boolean isSupper;

    private boolean isDeptMgr;

    public boolean isDeptMgr() {
        return isDeptMgr;
    }

    public void setDeptMgr(boolean deptMgr) {
        isDeptMgr = deptMgr;
    }

    public boolean isSupper() {
        return isSupper;
    }

    public void setSupper(boolean supper) {
        isSupper = supper;
    }

    */
/**
     * 权限列表
     *//*

    private Set<String> permissions;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public LoginUserBO() {
    }

    public LoginUserBO(String userName) {
        this.userName = userName;
    }

    */
/**
     * 账户是否未过期,过期无法验证
     *//*

    @JSONField(serialize = false)
    public boolean isAccountNonExpired() {
        return expireTime < System.currentTimeMillis();
    }

    */
/**
     * 指定用户是否解锁,锁定的用户无法进行身份验证
     *
     * @return
     *//*

    @JSONField(serialize = false)
    public boolean isAccountNonLocked() {
        return true;
    }


    public Long getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Long loginTime) {
        this.loginTime = loginTime;
    }

    public String getIpaddr() {
        return ipaddr;
    }

    public void setIpaddr(String ipaddr) {
        this.ipaddr = ipaddr;
    }

    public String getLoginLocation() {
        return loginLocation;
    }

    public void setLoginLocation(String loginLocation) {
        this.loginLocation = loginLocation;
    }

    public String getBrowser() {
        return browser;
    }

    public void setBrowser(String browser) {
        this.browser = browser;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public Set<String> getPermissions() {
        return permissions;
    }

    public void setPermissions(Set<String> permissions) {
        this.permissions = permissions;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Set<String> getRoles() {
        return roles;
    }

    public void setRoles(Set<String> roles) {
        this.roles = roles;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }
}
*/
